home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.c
- Subject: Re: Free Pacific C problem
- Date: 08 Jan 1996 15:53:54 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Jan8085354@qcd.lanl.gov>
- References: <4cm906$l8v@news.sas.ab.ca>
- <tcpnntpd.16.1.6.16.29.54.2781597121.325010@the-fix.sos.on.ca>
- <30f11e6a.255489216@news.bne.aone.net.au>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: clyde@hitech.com.au's message of Mon, 08 Jan 1996 13:45:57 GMT
-
- --text follows this line--
- In article <30f11e6a.255489216@news.bne.aone.net.au>
- clyde@hitech.com.au (Clyde Smith-Stubbs) writes:
- <snip>
- > I have it loaded on my machine too but use TC3 because Pacific is
- >not a true Ansi C program. Just as an example the comment lines //
-
- This is an extension, non-ANSI, yes, but I don't believe there are any
- compilers out there that in their default mode accept only strictly
-
- True. A compiler is commonly called ANSI conforming if it has at least
- one mode of operation where it tries to be strictly conforming: even
- if that is not the `default' mode (whatever that means). I think
- existence of such a mode influences my decision to use a compiler very
- strongly: its being the default mode does not (unless, because of the
- OS or the way the compiler is written, it is very difficult to use the
- particular non-default mode).
-
- conforming ANSI C programs. You'd be surprised how many people believe
- that the // comment feature is *already* part of C. It's certain to be
-
- Are they more than the number of people who think i=i++; is a part of
- the language? Really, how many people writing code for more than OS
- have you seen that think // is a part of the C language? In fact, how
- many OS's can you find where even a single compiler accepts // as
- starting a line oriented comment?
-
- added in the next release of the standard - just like function
- prototypes were borrowed from C++.
-
- I shall wait for the next release of the standard to bless the
- practices of individual OSs (like // or void main). Till then,
- portability seems to be a more useful goal than arguing incessantly
- over what the standard shall mandate in its next release.
-
- Cheers
- Tanmoy
-
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-